The Program development life cycle


Objectives : Student should be able to -


Q1. a)  What is meant by a  System .

⇒  A System is a collection of components that work together as parts of a mechanism or an interconnecting network with a set of rules or procedure to solve a problem.

b)  Describe  Computer System .

⇒  A computer system is made up of software, data, hardware, communications and people.

⇒  A computer system is a set of integrated devices that input, process, output, communicate and store data and information.

⇒  A computer system can be divided into a set of sub-systems.

⇒  Each sub-system can be further divided into sub-systems and so on until each sub-system just performs a single action.

Q2. a)  Describe what  System development life cycle  means.

⇒  System development life cycle is an organizational process of developing and maintaining a system.

⇒  It helps in establishing a system project plan by giving an overall list of processes and sub-processes required in developing a system.

b)  Give reason why we need to develop a new system or what promotes a new system ?

Q3.  Identify and describe  four stages of the program development lifecycle .

1)   Analysis 

⇒  Analysis stage involves the process of investigation; a detailed study of the current system to identify the problems and collect the key elements required to develop a new more efficient system. It is done by abstraction and decomposition tools.

⇒  Abstraction collects the essential elements required for the solution while eliminating any unnecessary details and information.

⇒  Decomposition involves breaking down a complex problem into smaller, more manageable parts parts that can be solved individually.

2)   Design 

⇒  Design stage is the process of planning a new system to solve the problems identified and to meet the requirements collected at analysis stage. It is formally documented using structure diagrams, flowcharts and pseudocode, to show what is to be done, how each tasks to be performed and how the tasks work together.

⇒  When design stage is complete, the programmer should know what is to be done.

3)   Coding 

⇒  Coding stage is the process of writing the program using a suitable programming language.

⇒  Each module of the program is tested repeatedly to debug errors if any, amend codes if needed and checks if it meets all the requirements of the system.

4)   Testing 

⇒  Testing stage is the process of repeatedly running and testing the completed program using different sets of test data.

⇒  This ensures that all the tasks completed works together as specified in the program design and its output match the expected results.

Q4.  Identify and describe  two tasks  that are performed at the  analysis stage  of the program development cycle.

Analysis of a system involves the process of investigation, done by abstraction and decomposition tools.

  1. Abstraction collects the key elements required and discards any unnecessary details for the solution of the problem.
  2. Decomposition breaks down a complex problem into smaller parts, which can then be subdivided into even smaller parts that can be solved easily.

Q5.  At  design stage  of program development cycle, programmers mainly use three methods to design an algorithm.

Describe the following  three methods of designing  an algorithm.

1.  Structure diagram  : A pictorial representation of top-down design in a hierarchical form. It is an ordered way of designing a system, by breaking down a system into its sub-systems to its lowest manageable levels in a tree like structure.

It is constructed using squares to represent different modules in the system, and lines that connect them. The lines represent the connection between activities and sub-activities as they are used in organization charts.

2.  Flow-chart  : A diagram that represents an algorithm, the work-flow or process. It shows the steps to be carried out to solve a problem. It uses variety of boxes and arrows to show the process to be done and the direction of flow of data.
3.  Pseudocode  : A method that describes the steps of an algorithm using English-like words and mathematical operators that are set out to look like a computer program without following the strict syntax or rules of any specific programming language.



* * * * * * * * *
* * * * * *
* * *
*